columnviewcolumn: Improve docs
authorMatthias Clasen <mclasen@redhat.com>
Tue, 1 Dec 2020 04:40:03 +0000 (23:40 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 1 Dec 2020 04:40:03 +0000 (23:40 -0500)
Mention what setting sorter to NULL means.

gtk/gtkcolumnviewcolumn.c

index 51d03887073b0699c8f1bac20ab2639680a2141c..fd70a247d1b442aa3b2e23cc6c16dbc4d1b14449 100644 (file)
@@ -742,6 +742,9 @@ gtk_column_view_column_remove_from_sorter (GtkColumnViewColumn *self)
  *
  * Associates a sorter with the column.
  *
+ * If @sorter is %NULL, the column will not let users change
+ * the sorting by clicking on its header.
+ *
  * This sorter can be made active by clicking on the column
  * header, or by calling gtk_column_view_sort_by_column().
  *